package com.cykj.pos.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.cykj.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;
import java.util.Map;
import java.util.HashMap;
import java.math.BigDecimal;

/**
 * bizWalletNew对象 biz_wallet_new
 *
 * @author weijianbo
 * @date 2025-01-20
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("biz_wallet_new")
public class BizWalletNew implements Serializable {

private static final long serialVersionUID=1L;


    /** 钱包主键 */
    @TableId(value = "wallet_id")
    private Long walletId;

    /** 钱包用户 */
    private Long userId;

    /** 代理名称 */
    @Excel(name = "代理名称")
    private String userName;

    /** 部门 */
    private Long deptId;

    /** 渠道 */
    private Long channelId;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String deptName;

    /** 结算账户总额 */
    @Excel(name = "结算账户总额")
    private BigDecimal profitAmount;

    /** 奖励账户总额 */
    @Excel(name = "奖励账户总额")
    private BigDecimal rewardAmount;

    /** 渠道名称 */
    @Excel(name = "渠道名称")
    private String channelName;

    /** 钱包总额 */
    @Excel(name = "钱包总额")
    private BigDecimal walletAmount;

    /** 活动积分 */
    @Excel(name = "活动积分")
    private Long activityIntegral;

    /** 总提现金额 */
    @Excel(name = "总提现金额")
    private BigDecimal withdrawalAmount;

    /** 总提现手续费 */
    @Excel(name = "总提现手续费")
    private BigDecimal withdrawalServiceAmount;

    /** 创建时间 */
    @Excel(name = "创建时间" , width = 30, dateFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** $column.columnComment */
    private String var1;// 1 结算账户 2  奖励账户

    /** $column.columnComment */
    private String var2;

    /** $column.columnComment */
    private String var3;

    @TableField(exist = false)
    private String payPassword;
    @TableField(exist = false)
    private String amount;

    @TableField(exist = false)
    private Map<String, Object> params = new HashMap<>();

}
